Thực đơn
URI Cấu trúcTheo tiêu chuẩn hiện hành RFC 3986 một URI được cấu tạo từ 5 phần: scheme
(Sự xếp đặt), authority
(nhà cung cấp), path
(đường dẫn), query
(truy vấn) và fragment
(phân mảnh), trong đó chỉ có scheme
và path
là bắt buộc phải có trong mỗi URI: Cú pháp chung chung là
URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ]
(URI = đề án ":" phần ở đây [ "?" truy vấn ] [ "#" phân mảnh ]))
Theo đó hier-part
là cho một authority
tùy chọn và path
. Nếu có authority
, nó bắt đầu với hai dấu gạch chéo, và đường dẫn phải bắt đầu với một dấu gạch chéo. Tiêu chuẩn làm rõ các thành phần này với hai ví dụ:
foo://example.com:8042/over/there?name=ferret#nose \_/ \______________/\_________/ \_________/ \__/ | | | | |scheme authority path query fragment | _____________________|__ / \ / \ urn:example:animal:ferret:nose
Thực đơn
URI Cấu trúcLiên quan
URI Uriminzokkiri Uriel Antuna Uria Uri (bang) Uriménil Uria lomvia Uri Uri, Jammu và Kashmir UriuTài liệu tham khảo
WikiPedia: URI http://gbiv.com/protocols/uri/ http://blog.whatfettle.com/2008/10/06/the-uri-is-t... http://norman.walsh.name/2006/07/25/namesAndAddres... http://dl.acm.org/citation.cfm?id=RFC2396 http://www.iana.org/assignments/uri-schemes.html http://www.w3.org/2001/tag/doc/selfDescribingDocum... http://www.w3.org/Addressing/ http://www.w3.org/TR/uri-clarification/ http://www.w3.org/TR/webarch/#identification http://www.ltg.ed.ac.uk/~ht/WhatAreURIs/